Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point caches

Documentation

Extension Point to define a new cache . 20

  • The class attribute may specify a class that implements the CacheManagement interface. The default implementation 'org.nuxeo.ecm.core.cache.InMemoryCacheImpl' is based on Google Guava.

    The max size set the max number of elements contained in the cache

    The Time To Live define in minutes the time before the cache will be destroyed

    The concurrency level, number of thread that can access at the same time the cache

  • Contribution Descriptors

    • Class: org.nuxeo.ecm.core.cache.CacheDescriptor

    Existing Contributions

    Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

    • nuxeo-runtime-10.10-HF33-patch-NXP-29565.jar /opt/nuxeo-server-10.10-tomcat/nxserver/config/cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache name="default-cache">
            <ttl>20</ttl><!-- minutes -->
            <option name="maxSize">100</option>
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="user-entry-cache">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="user-entry-cache-without-references">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="group-entry-cache">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="group-entry-cache-without-references">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="digestauth-entry-cache">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="digestauth-entry-cache-without-references">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="ldap-user-entry-cache">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="ldap-user-entry-cache-without-references">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="ldap-group-entry-cache">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
          <cache name="ldap-group-entry-cache-without-references">
            <option name="maxSize">100</option>
            <ttl>20</ttl><!-- minutes -->
            <option name="concurrencyLevel">500</option>
          </cache>
      
        </extension>
    • nuxeo-runtime-10.10-HF33-patch-NXP-29565.jar /opt/nuxeo-server-10.10-tomcat/nxserver/config/nuxeo-drive-cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="driveSyncRoot">
            <option name="maxSize">10000</option>
            <option name="concurrencyLevel">4</option>
            <ttl>1</ttl>
          </cache>
      
          <cache name="driveCollectionSyncRootMember">
            <option name="maxSize">10000</option>
            <option name="concurrencyLevel">4</option>
            <ttl>1</ttl>
          </cache>
      
          <cache name="driveDescendantsScroll">
            <ttl>20</ttl><!-- minutes -->
            <option name="maxSize">100</option>
            <option name="concurrencyLevel">500</option>
          </cache>
      
        </extension>
    • nuxeo-liveconnect-box-core-10.10.jar /OSGI-INF/cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="box">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>60</ttl>
          </cache>
      
        </extension>
    • nuxeo-liveconnect-dropbox-core-10.10.jar /OSGI-INF/cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="dropbox">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>60</ttl>
          </cache>
      
        </extension>
    • nuxeo-liveconnect-google-drive-core-10.10.jar /OSGI-INF/cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="googleDrive">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>60</ttl>
          </cache>
      
        </extension>
    • nuxeo-liveconnect-onedrive-core-10.10-HF21.jar /OSGI-INF/cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="onedrive">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>60</ttl>
          </cache>
      
        </extension>
    • nuxeo-multi-tenant-core-10.10.jar /OSGI-INF/directories-cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="tenants-cache">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="tenants-cache-without-ref">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="topic-cache-without-ref">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="topic-cache">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="subtopic-cache-without-ref">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="subtopic-cache">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="l10nsubjects-cache-without-ref">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="l10nsubjects-cache">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="l10ncoverage-cache-without-ref">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
          <cache name="l10ncoverage-cache">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
          </cache>
      
      
        </extension>
    • nuxeo-platform-default-config-10.10.jar /OSGI-INF/default-cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="cache-vocabulary">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
          </cache>
      
          <cache name="cache-xvocabulary">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
          </cache>
      
          <cache name="cache-l10nxvocabulary">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
          </cache>
      
          <cache name="cache-documentsLists">
            <ttl>60</ttl><!-- minutes -->
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
          </cache>
      
        </extension>
    • nuxeo-platform-ui-web-10.10-HF33.jar /OSGI-INF/username-cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="userDisplayName">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>30</ttl>
          </cache>
      
        </extension>
    • nuxeo-routing-default-10.10.jar /OSGI-INF/extensions.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache name="vocab-WorkflowType-cache">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">500</option>
            <ttl>60</ttl>
          </cache>
          <cache name="vocab-WorkflowType-cache-without-references">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">500</option>
            <ttl>60</ttl>
          </cache>
        </extension>